/*
 * 
 *  This file is part of Sourceprojects.org Lycia Copyright 2010 noctarius
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 * 
 */
package org.sourceprojects.xmlparser;

/**
 * 
 * @author noctarius
 * @since 0.0.7
 * @deprecated Use {@link org.sourceprojects.lycia.ProgressListener} instead
 */
@Deprecated
public interface ProgressListener {

	/**
	 * Notifies a listener about percent values of parsing progress changed
	 * 
	 * @param percent
	 *            Value of actual parsing progress in percent
	 */
	void notify(int percent);

	/**
	 * Notifies a listener about internal reset of the InputStreams file
	 * position.<br>
	 * This does not needs to be position 0 since another position could be
	 * marked for reset, the best way for visual applications to react to that
	 * event is to show a continuous progressbar until next notify(int) event
	 * arrives.
	 */
	void notifyReset();

}
